﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/PopupDiv.master"
    AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="Jzy.Web.Account.Edit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 120px;
            height: 30px;
            text-align: right;
        }
        .style2
        {
            text-align:left;padding-left:5px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="pnlMain" runat="server" CssClass="pnlMain">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
             <tr>
                <td class="style1">
                    <span style="color: Red;">*</span>&nbsp;发生时间：
                </td>
                <td class="style2">
                    <asp:TextBox ID="OccurTime" runat="server" Width="250px" CssClass="txt"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="OccurTime"
                        Display="None" ErrorMessage="请选择发生时间" SetFocusOnError="True"></asp:RequiredFieldValidator>
                   
                </td>
            </tr>
             <tr>
                <td class="style1">
                    <span style="color: Red">*</span><asp:Label ID="lblType" runat="server" Text="Label"></asp:Label>：
                </td>
                
                 <td class="style2">
                  <asp:DropDownList ID="TypeCode" runat="server" Width="250px">
                    </asp:DropDownList>
                 </td>
                 </tr>
             <tr>
                <td class="style1">
                    <span style="color: Red">*</span>金额：
                </td>
                <td class="style2">
                    <asp:TextBox ID="Amount" CssClass="txt" Width="250px" runat="server"></asp:TextBox>

                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"  ControlToValidate="Amount"
                        Display="None" ErrorMessage="金额数据格式不对" ValidationExpression="-?\d*\.?\d+"></asp:RegularExpressionValidator>

                </td>
            </tr>

            <tr>
                <td class="style1">
                    <span style="color: Red;">*</span>&nbsp;<asp:Label ID="Label1" runat="server" Text="描述："></asp:Label>
                </td>
                <td class="style2">
                    <asp:TextBox ID="Name" runat="server" Width="250px" CssClass="txt" 
                        Height="80px" TextMode="MultiLine"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Name"
                        Display="None" ErrorMessage="请输入描述" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </td>
            </tr>           
           
        </table>
         <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
        ShowSummary="False" />
    </asp:Panel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" />
</asp:Content>
